package com.bugsnag.ohos;

import com.google.gson.stream.JsonReader;

/**
 * JsonReadable
 *
 * @param <T>
 * @since 2021-07-01
 */
public interface JsonReadable<T extends JsonStream.Streamable> {
    /**
     * Constructs an object from a JSON input.
     *
     * @param reader
     * @return t
     */
    T fromReader(JsonReader reader);
}
